package com.yanqu.road.entity.activity.suitang.entity.barracks;

import java.util.Objects;
import java.util.concurrent.atomic.AtomicLong;

// 兵营数据
public class CrossSuiTangBarracks {

    // 预备兵数量
    private long readyNum;
    // 预备兵数量上限
    private long readyMaxNum;
    // 上次招募时间
    private long createTime;
    // 招募速度，每秒x个
    private long createSpeed;

    //剩余募兵令对应的兵
    private long remainMuBing;

    public CrossSuiTangBarracks() {
    }

    public long getReadyNum() {
        return readyNum;
    }

    public void setReadyNum(long readyNum) {
        if (this.readyNum != readyNum) {
            this.readyNum = readyNum;
        }
    }

    public long getReadyMaxNum() {
        return readyMaxNum;
    }

    public void setReadyMaxNum(long readyMaxNum) {
        if (this.readyMaxNum != readyMaxNum) {
            this.readyMaxNum = readyMaxNum;
        }
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        if (this.createTime != createTime) {
            this.createTime = createTime;
        }
    }

    public long getCreateSpeed() {
        return createSpeed;
    }

    public void setCreateSpeed(long createSpeed) {
        if (this.createSpeed != createSpeed) {
            this.createSpeed = createSpeed;
        }
    }

    public long getRemainMuBing() {
        return remainMuBing;
    }

    public void setRemainMuBing(long remainMuBing) {
        this.remainMuBing = remainMuBing;
    }
}
